package com.neusoft.neuiotms.dcam.workflow.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.workflow.model.TuikuSL;

public interface TuikuSLRepository extends JpaRepository<TuikuSL, Long> {

    TuikuSL findByTaskId(String taskId);

    TuikuSL findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    List<TuikuSL> findByWorkOrderNum(String workOrderNum);

    TuikuSL findTopByWorkOrderNumOrderByCreateTimeDesc(String workOrderNum);
}
